package com.sjlh.centurylianhua.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value="Salelist")
public class SaleList {
    @TableId(value="slistId",type= IdType.AUTO)
    private Integer slistId;//销售详情id
    @TableField(value="slistCode")
    private String slistCode;//单据编号
    @TableField(value="prodectName")
    private String prodectName;//商品名称
    @TableField(value="slistNumber")
    private Integer slistNumber;//商品数量
    private String price;//商品单价
    private String unit;//商品单位
    private String total;//小计
    @TableField(value="saleId")
    private Integer saleId;//所属销售日志,外键
    @TableField(value="prodectId")
    private Integer prodectId;//所属商品，外键
    private String remarks1;//备用1
    private String remarks2;//备用2
    private String remarks3;//备用3

}
